function GuiContainerCustomer() {
  
};

GuiContainerCustomer.instance = function(prefix, orders) {
  var gui = { customerNo: document.getElementById(prefix + '_customerNo_div'),
              view: document.getElementById(prefix + '_view_button'),
              orderType: [],
              brideName: document.getElementById(prefix + '_brideName_div'),
              groomName: document.getElementById(prefix + '_groomName_div'),
              bridePhone: document.getElementById(prefix + '_bridePhone_div'),
              groomPhone: document.getElementById(prefix + '_groomPhone_div'),
              brideMobile: document.getElementById(prefix + '_brideMobile_div'),
              groomMobile: document.getElementById(prefix + '_groomMobile_div'),
              date: document.getElementById(prefix + '_date_div'),
              operator: document.getElementById(prefix + '_operator_div')
            };
  for (var i = 0, il = orders.length; i < il; i++) {
    gui.orderType[gui.orderType.length] = GuiContainerCustomer._type(prefix + '_' + i);
  }
  return gui;
};

GuiContainerCustomer._type = function(prefix) {
  return { type: document.getElementById(prefix + '_type_div')
         }
};